﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Template.Master" CodeBehind="QuanLyNhanXet.aspx.cs" Inherits="FastDeal.Admin.QuanLyNhanXet" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Panel ID="Panel1" runat="server" BackColor="white">
        <div id="Comment" align="center">
            
            <asp:Label ID="Label1" runat="server" CssClass="header" 
                Text="DANH SÁCH NHẬN XÉT"></asp:Label>
            <br />
            <asp:HyperLink ID="QuayLai" runat="server" NavigateUrl="~/Admin/Default.aspx">QUAY LẠI</asp:HyperLink>
            <br />
            <asp:GridView ID="gvDanhSachNhanXet" runat="server" AutoGenerateColumns="False" 
                CellPadding="4" ForeColor="#333333" GridLines="None" 
                onpageindexchanging="gvDanhSachNhanXet_PageIndexChanging" 
                onrowdeleting="gvDanhSachNhanXet_RowDeleting" PageSize="3" Width="445px">
                <AlternatingRowStyle BackColor="White" />
                <Columns>
                    <asp:TemplateField HeaderText="Mã NX" Visible="False">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("MaNhanXet") %>'></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="lbMa" runat="server" Text='<%# Bind("MaNhanXet") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="MaKhuyenMai" HeaderText="Mã Khuyến Mãi">
                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Top" Width="200px" />
                    </asp:BoundField>
                    <asp:TemplateField HeaderText="Nhận Xét">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:HyperLink ID="lbUsername" runat="server" ForeColor="Blue" 
                                NavigateUrl='<%# "~/TaiKhoan.aspx?ID=" + Eval("UserID") %>' 
                                Text='<%# Bind("UserID") %>'></asp:HyperLink>
                            <br />
                            <asp:Label ID="lbNhanXet" runat="server" CssClass="thongbao" 
                                Font-Italic="False" ForeColor="#669999" Text="Label" Width="500px"></asp:Label>
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Top" Width="500px" />
                    </asp:TemplateField>
                    <asp:CommandField ButtonType="Image" DeleteImageUrl="~/Icons/cancel.png" 
                        ShowDeleteButton="True" />
                </Columns>
                <EditRowStyle BackColor="#7C6F57" />
                <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
                <RowStyle BackColor="#E3EAEB" />
                <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                <SortedAscendingCellStyle BackColor="#F8FAFA" />
                <SortedAscendingHeaderStyle BackColor="#246B61" />
                <SortedDescendingCellStyle BackColor="#D4DFE1" />
                <SortedDescendingHeaderStyle BackColor="#15524A" />
            </asp:GridView>
            
        </div>
    </asp:Panel>
</asp:Content>